package com.zhbcm.cassso.bean;

import org.springframework.security.core.GrantedAuthority;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2021/6/16 1:17
 */
public class AuthorityInfo implements GrantedAuthority
{
    private static final long serialVersionUID = -175781100474818800L;

    /**
     * 权限CODE
     */
    private String authority;

    public AuthorityInfo(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }
}
